package edu.jptest.service;

import java.util.List;

import edu.jptest.bean.QuestionSubject;

public interface IQuestionSubjectService {

	// 插入题目
	public boolean insertQuestionSubject(QuestionSubject questionSubject);

	// 删除题目
	public boolean deleteQuestionSubject(int questionSubject_id);

	// 修改题目
	public boolean updateQuestionSubject(QuestionSubject questionSubject);

	// 通过题目id，查询题目对象
	public QuestionSubject getQuestionSubjectByQuestionSubjectId(
			int questionSubject_id);

	// 通过题目序号和内容，查询题目id
	public int getQuestionSubjectIdByQuestionSubject(
			int questionSubject_num, String questionSubjectContent);

	// 获得所有题目id
	public List<Integer> getAllQuestionSubjectsId();
}
